package xiaohao.order.domain.analyze;

import java.math.BigDecimal;

public class SpendingDO {

	private BigDecimal sum = new BigDecimal(0);
	
	private BigDecimal successSum = new BigDecimal(0);
	
	private long orderAmount;

	public BigDecimal getSum() {
		return sum;
	}

	public void setSum(BigDecimal sum) {
		this.sum = sum;
	}

	public BigDecimal getSuccessSum() {
		return successSum;
	}

	public void setSuccessSum(BigDecimal successSum) {
		this.successSum = successSum;
	}

	public long getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(long orderAmount) {
		this.orderAmount = orderAmount;
	}
	
	public void addOrderAmount() {
		this.orderAmount++;
	}
	
}
